﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.Review.Domain.Entity
{
    /// <summary>
    /// 审批单
    /// </summary>
    [SugarTable("infor_approval_form")]
    public class infor_approval_form
    {
        /// <summary>
        /// 审批单编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "流程记录编号", Length = 200)]
        public string? approval_form_number { get; set; }

        /// <summary>
        /// 审批原因
        /// </summary>
        [SugarColumn(ColumnDescription = "审批原因", Length = 200, IsNullable = true)]
        public string? reason_for_approval { get; set; }

        /// <summary>
        /// 审批项目编号
        /// </summary>
        [SugarColumn(ColumnDescription = "审批项目编号", Length = 200, IsNullable = true)]
        public string? approval_project_number { get; set; }

        /// <summary>
        /// 走哪个审批单号
        /// </summary>

        [SugarColumn(ColumnDescription = "走哪个审批单号", Length = 200, IsNullable = true)]

        public string? appInfpr_Number { get; set; }

        // <summary>
        /// 审批创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "审批时间")]
        public DateTime reason_for_date { get; set; } = DateTime.Now;

        // <summary>
        /// 审批实力编号
        /// </summary>
        [SugarColumn(ColumnDescription = "审批实力编号", IsNullable = true)]
        public string? ShenPid { get; set; }
    }
}
